home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990725-20000114
/
000330_news@columbia.edu _Wed Dec 8 10:04:34 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23490
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 8 Dec 1999 10:04:34 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA02544
for kermit.misc@watsun.cc.columbia.edu; Wed, 8 Dec 1999 09:47:32 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: kermit / tinyirc notes
Date: 8 Dec 1999 14:47:31 GMT
Organization: Columbia University
Message-ID: <82lr23$2fd$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <TCPSMTP.19.12.8.0.30.10.2375661496.5936661@kincyb.com>,
<Use-Author-Address-Header@[127.1]> wrote:
: ...
: (sent to comp.protocols.kermit.misc, scoug-irc, scoug-programming)
:
Thanks for your fascinating postings (C-Kermit and screen; stripping
ANSI sequences from session logs; IRC script...) -- it's always a treat
to see Kermit put to creative uses. Version 7.0 Beta.11, announced
yesterday, should add a few new tools to your bag of tricks.
: I don't have access to my Warp system right now, so I
: haven't spent to much more time on this, because there
: seems to be a problem with getting the EOLs properly
: interpreted by the Debian Linux 2.1 terminal properly,
: that didn't seem to show up with the first few stabs at
: this with Kermit/2, where the terminal emulation is
: supplied by Kermit. These hint at a possible use for a
: 'set terminal nl-display crlf' command. (or maybe
: someone more knowledgable about UNIX/c-kermit can
: suggest an stty/setterm option to solve the problem.)
:
The problem, I think, comes from SET HOST /COMMAND, which, although
quite portable, has the drawback that it bypasses the terminal driver.
C-Kermit 7.0 Beta.11 gives you an alternative, SET HOST /PTY, which does
the same thing as SET HOST /COMMAND, but uses a pseudoterminal rather
than just a direct pipe to the application; this way you get the
services of the terminal driver AND you can run applications (like ssh)
that don't use standard i/o.
The drawback of the PTY approach is that it is decidedly UN-portable.
We have it working in:
. 4.4BSD, including BSDI/OS, NetBSD, FreeBSD, and OpenBSD
. AIX 4.1 and later
. DG/UX 5.4R4.11
. Digital UNIX 3.2 and 4.0 (incl Tru64)
. HP-UX 9.00 and later
. IRIX 6.0 and later
. Linux
. NeXTSTEP 3.x
. QNX 4.25 (except PTY process termination not detected)
. SCO OSR5.0.5
. SCO Unixware 7
. SINIX 5.42
. Solaris 2.x and 7
. SunOS 4.1.3
: One possible use that came to mind was to deliver a
: prepared 'speech' over IRC by setting the kermit pacing
: to a reasonable interval and transmitting a file to the
: chat channel (if you're working in a full screen
: environment you can't just dump the clipboard into your
: irc client input .). (Just what the world doesn't need
: - a new media for politicians to deliver their blather
: over! :-) )
:
Or for you to give yourself an alibi while committing the perfect crime :-)
: I tried putting Lynx under similar control, and the
: video output came through ok, but apparently the
: keyboard input is nonstandard and chokes...
:
The pseudoterminal approach should help here too.
: Thanks to Nathan Laredo for writing tinyirc, and the
: Kermit people at Columbia U. for adding the intresting
: new capabilities to Kermit, and Sector & crew at
: irc.webbnet.org for putting up with my ravings.
:
:
Keep them up! Let us know how "set host /pty" affects this application.
- Frank